package cn.kgc.vue.service.impl;

import cn.kgc.vue.commons.ResponseResult;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.kgc.vue.entity.Course;
import cn.kgc.vue.service.CourseService;
import cn.kgc.vue.mapper.CourseMapper;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
* @author mengshun
* @description 针对表【sys_course】的数据库操作Service实现
* @createDate 2023-12-14 09:57:23
*/
@Service
public class CourseServiceImpl extends ServiceImpl<CourseMapper, Course> implements CourseService{


    @Override
    public ResponseResult screenData() {

        List<Map<String,Object>>  datas =  baseMapper.selectScreenData();


        return ResponseResult.success().data(datas);
    }
}